package com.samshow.service;

import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * Created by Administrator on 2017/1/19.
 */
@Component
public class SampleServiceFallback implements SampleServiceClient {
    @Override
    public Integer add(@RequestParam(value = "a") Integer a, @RequestParam(value = "b") Integer b) {
        System.out.print("---------THIS IS FALLBACK CALL---------");
        return a+b;
    }
}
